<#include "../../global/header.html">
    <#include "./setting_header.html">
        <div class="aw-mod">
            <div class="aw-mod-head">
                <h4>基本信息</h4>
            </div>
            <form id="setting_form" method="post" action="account/ajax/profile_setting/">
                <div class="aw-mod-body aw-user-setting-layout aw-user-setting-base">
                    <dl>
                        <dt>帐号名称:</dt>
                        <dd></dd>
                    </dl>
                    <dl>
                        <dt>电话号码:</dt>
                        <dd></dd>
                    </dl>
                    <dl>
                        <dt>公司名称:</dt>
                        <dd></dd>
                    </dl>
                    <dl>
                        <dt>公司网站:</dt>
                        <dd></dd>
                    </dl>
                    <dl>
                        <dt>帐号性质:</dt>
                        <dd></dd>
                    </dl>
                    <dl>
                        <dt>到期日期:</dt>
                        <dd></dd>
                    </dl>
                    <!-- 上传头像 -->

                    <!-- end 上传头像 -->
                </div>
            </form>
        </div>
        <!-- end 基本信息 -->


        <!-- 关键字 -->
        <div class="aw-mod">
            <div class="aw-mod-head">
                <h4>关键字设置</h4>
            </div>
            <div class="aw-mod-body aw-user-educate aw-user-setting-layout aw-user-setting-reset-table">
                <table class="table table-bordered">
                    <thead>
                    <tr>
                        <th>关键字</th>
                        <th width="20%"><?php _e('操作'); ?></th>
                    </tr>
                    </thead>
                    <tbody>
                    <tr>
                        <td>
                            <input type="text" class="school form-control" placeholder="如:电脑...">
                        </td>

                        <td><a class="add-educate">添加</a></td>
                    </tr>
                    </tbody>
                </table>
            </div>
        </div>
        <!-- end 关键字 -->

        <!-- 区域设置 -->
        <div class="aw-mod">
            <div class="aw-mod-head">
                <h4>区域设置</h4>
            </div>
            <div class="aw-mod-body aw-user-work aw-user-setting-layout aw-user-setting-reset-table">
                <table class="table table-bordered">
                    <thead>
                    <tr>
                        <th width="30%">区域设置</th>

                        <th width="15%">操作</th>
                    </tr>
                    </thead>
                    <tbody>
                    <tr>

                        <td>
                            <select class="work">
                                <option value=""></option>
                                <?php echo H::display_options($this->job_list); ?>
                            </select>
                        </td>

                        <td><a class="add-work">添加</a></td>
                    </tr>
                    </tbody>
                </table>
            </div>
        </div>
        <!-- end 工作经历 -->

        <a href="javascript:;" class="btn btn-large btn-success pull-right aw-user-setting-save" onclick="ajax_post($('#setting_form'));">保存</a>

        <script type="text/javascript">
            $(document).ready(function () {
                $('.select_area').LocationSelect({
                    labels: ["<?php _e('请选择省份或直辖市'); ?>", "<?php _e('请选择城市'); ?>"],
                    elements: document.getElementsByTagName("select"),
                    detector: function () {
                        this.select(["<?php echo $this->user_info['province']; ?>", "<?php echo $this->user_info['city']; ?>"]);
                    },
                    dataUrl: G_BASE_URL + '/account/ajax/areas_json_data/'
                });

                init_avatar_uploader($('#avatar_uploader'), $('#avatar_uploading_status'), $("#avatar_src"));
            });

            <?php if ($this->education_experience_list) { ?>
                var education_experience_list = <?php echo json_encode($this->education_experience_list); ?>
            <?php } ?>

            <?php if ($this->work_experience_list) { ?>
                var work_experience_list = <?php echo json_encode($this->work_experience_list); ?>
            <?php } ?>
        </script>

        <script type="text/javascript" src="/static/js/app/setting.js"></script>


        <#include "./setting_footer.html">
            <#include "../../global/footer.html">